﻿@model IEnumerable<Inovout.YunYao.Models.MonitoringNode>

<div class="w-1">
    <table id="equipmentTable" class="jqGrid">
        <tr>
            <th class="w20">名称</th>
            <th class="w10">代码</th>
            <th class="w10">值类型</th>
            <th class="w10">操作</th>
        </tr>
        @foreach (var item in Model)
        {
            <tr>
                <td>@item.Name</td>
                <td>@item.Code</td>
                <td>@Html.Enum(item.FeatureValueDescriptor.Type)</td>
                <td>
                    @Html.ActionLink("发送数据", "Send", new { controller = "MonitoringNode", id = @item.Id }, new { target="_blank"})    
                    <a href="http://@HttpContext.Current.Request.Url.Host:10102/Chart/@item.Code" target="_blank">实时</a>
                </td>
            </tr>   
        }
    </table>
</div>
